﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LDriver
{
 public class Packet
    {
        public byte[] Header { get; private set; }
        public int Length { get; private set; }
        public List<byte> Content { get; private set; }

        public Packet(byte[] header, int length)
        {
            Header = header;
            Length = length;
        }

        public void SetContent(List<byte> contentBytes)
        {
            Content = contentBytes;
        }

    }
}
